package com.lph.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.lph.model.Menu;
import com.lph.service.BaseServiceI;

@Controller
@RequestMapping("/menuc")
public class MenuController extends BaseController<Menu>{
	@Resource(name="menuService")
	private BaseServiceI<Menu> bsim;
	
	
	@RequestMapping("/menu.coc")
	public String user(){
		return "/menu/menu";
		
	}
	@Override
	public List<Menu> find(Menu t) {
	
		return bsim.find(t);
	}
	
	
}
